package OrderBaseService

import (
	"context"
	"gdshop-font-api-go/app/response/OrderResp"
)

// HandleDetails
func HandleDetails(ctx context.Context, item *OrderResp.Details) {
	item.StoreName = "自营"
	item.SubOrderList = GetOrderSubByOrderId(ctx, item.Id)
	item.IsExpress = OrderIsExpress(ctx, item.Id)
	item.IsShowPrimary = OrderIsShowPrimary(item.Status)
	item.TipsList = GetOrderTipsList(item.Id)
}
